package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcTestlistComp;
import cn.besbing.model.entities.primary.NcTestlistCompExample;
import cn.besbing.model.mapper.primary.NcTestlistCompMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcTestlistCompServiceImpl implements NcTestlistCompMapper {
    
    @Autowired(required = false)
    NcTestlistCompMapper ncTestlistCompMapper;
    
    
    @Override
    public long countByExample(NcTestlistCompExample example) {
        return ncTestlistCompMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcTestlistCompExample example) {
        return ncTestlistCompMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkTestlistComp) {
        return ncTestlistCompMapper.deleteByPrimaryKey(pkTestlistComp);
    }

    @Override
    public int insert(NcTestlistComp record) {
        return ncTestlistCompMapper.insert(record);
    }

    @Override
    public int insertSelective(NcTestlistComp record) {
        return ncTestlistCompMapper.insertSelective(record);
    }

    @Override
    public List<NcTestlistComp> selectByExample(NcTestlistCompExample example) {
        return ncTestlistCompMapper.selectByExample(example);
    }

    @Override
    public NcTestlistComp selectByPrimaryKey(String pkTestlistComp) {
        return ncTestlistCompMapper.selectByPrimaryKey(pkTestlistComp);
    }

    @Override
    public int updateByExampleSelective(NcTestlistComp record, NcTestlistCompExample example) {
        return ncTestlistCompMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcTestlistComp record, NcTestlistCompExample example) {
        return ncTestlistCompMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcTestlistComp record) {
        return ncTestlistCompMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcTestlistComp record) {
        return ncTestlistCompMapper.updateByPrimaryKey(record);
    }
}
